
import React from 'react';
import {Link} from 'react-router-dom';
export default class Buttons extends React.Component{
    constructor(props){
        super(props)
    };
    componentWillMount(){
        console.log('buttons.jsx-componentWillMount');
    };
    componentDidMount(){
        console.log('buttons.jsx-componentDidMount');
    };    
    render(){
        console.log('buttons.jsx-render');
        return (
            <div>
               <Link to="/login">登录</Link> 
            </div>
        )
    }
}

